﻿using System;
using System.Collections.Generic;

namespace BenCaoXuan.Infrastructure.EFCore.MySql;

/// <summary>
/// 预约表
/// </summary>
public partial class Appointment
{
    /// <summary>
    /// 预约id
    /// </summary>
    public string AId { get; set; } = null!;

    /// <summary>
    /// 客户id
    /// </summary>
    public string? ACustomerId { get; set; }

    /// <summary>
    /// 客户姓名
    /// </summary>
    public string? ACustomerName { get; set; }

    /// <summary>
    /// 是否转订单
    /// </summary>
    public int? AIsOrder { get; set; }

    /// <summary>
    /// 预约的总价
    /// </summary>
    public double? AMoney { get; set; }

    /// <summary>
    /// 选择的套餐id,可以&quot;,&quot;隔开
    /// </summary>
    public string? APackageId { get; set; }

    /// <summary>
    /// 预约日期
    /// </summary>
    public DateTime? APeriod { get; set; }

    /// <summary>
    /// 电话号码
    /// </summary>
    public string? APhone { get; set; }

    /// <summary>
    /// 选择的产品规格id,可以&quot;,&quot;隔开
    /// </summary>
    public string? AProductId { get; set; }

    /// <summary>
    /// 预约状态,0-已预约 1-已完成 -1已取消
    /// </summary>
    public int? AStatus { get; set; }

    /// <summary>
    /// 预约时间
    /// </summary>
    public string? ATime { get; set; }

    /// <summary>
    /// 是否电话访问:0-未访问,1-已访问
    /// </summary>
    public int? AVisit { get; set; }
}
